import request from '@/utils/request'

// 社团列表
export function teamLists(params?: Record<string, any>) {
    return request.get({ url: '/team/lists', params })
}

// 社团详情
export function teamDetail(params: Record<string, any>) {
    return request.get({ url: '/team/detail', params })
}

// 社团新增
export function teamAdd(params: Record<string, any>) {
    return request.post({ url: '/team/add', params })
}

// 社团编辑
export function teamEdit(params: Record<string, any>) {
    return request.post({ url: '/team/edit', params })
}

// 社团删除
export function teamDelete(params: Record<string, any>) {
    return request.post({ url: '/team/del', params })
}

// 社团审核
export function teamExamine(params: Record<string, any>) {
    return request.post({ url: '/team/examine', params })
}